﻿@model Users.Models.AppUser
@{
    ViewBag.Title = "编辑用户";
}
@Html.ValidationSummary(false)
<h2>编辑用户</h2>

<div class="form-group">
    <label>用户名</label>
    <p class="form-control-static">@Model.UserName</p>
</div>
@using (Html.BeginForm())
{
    @Html.HiddenFor(x => x.Id)
    <div class="form-group">
        <label>Email</label>
        @Html.TextBoxFor(x => x.Email, new {@class = "form-control"})
    </div>
    <div class="form-group">
        <label>密码</label>
        <input name="password" type="password" class="form-control" />
    </div>
    <button type="submit" class="btn btn-primary">保存</button>
    @Html.ActionLink("取消", "Index", null, new {@class = "btn btn-default"})
}
